package com.nancy.java_design.abstract_factory.demo1;

/**
 * 美式甜品工厂
 */
public class AmericanDessertFactory extends DessertFactory {
    @Override
    public Dessert createDessert() {
        return new TeaMousse();
    }

    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }
}
